<div class="row cl for_model_show_hide">
    <label class="form-label col-xs-4 col-sm-2">模型：</label>
    <div class="formControls col-xs-8 col-sm-9" style="min-height:31px;">
        <style type="text/css">
            .model_table{
                /*border: 1px solid red;*/
                text-align:center;
            }
            .model_table th{
                height: 31px;
                text-align:center;
                border:1px solid #ccc;
            }
            .model_table td{
                height: 31px;
                border : 1px solid #ccc;
            }
        </style>
        <table class="model_table">
            <tr>
                {foreach name="$goodsModel.spec" item="sc"}
                    <th>{$sc.name}</th>
                {/foreach}
                <th>价格</th>
            </tr>
            {foreach name="cart" item="cr"}
            <tr>
                {foreach name="cr" id="sp"}
                    <td>{$sp.name}</td>
                {/foreach}
                <td><input type="text" name="model_price[{foreach name='cr' item='cp'}_{$cp.id}{/foreach}]" ></td>
            </tr>
            {/foreach}
        </table>
    </div>
</div>